package com.budwk.app.sqfw.services;

import com.budwk.app.sqfw.dto.SimpleCenSusPaperQueryDTO;
import com.budwk.app.sqfw.models.Sqfw_cenSusPaper;
import com.budwk.app.sqfw.models.Sqfw_formSummary;
import com.budwk.starter.database.service.BaseService;

import java.util.List;

/**
 * @author ZY.Wang
 * @since 2023/10/23
 */
public interface SqfwCenSusPaperService extends BaseService<Sqfw_cenSusPaper> {

    void add(Sqfw_cenSusPaper cenSusPaper);

    int updateCenSusPaper(Sqfw_cenSusPaper cenSusPaper);

    List<Sqfw_cenSusPaper> addOrUpdateByFormSummaryStr(String str, Sqfw_formSummary formSummary);

    List<Sqfw_cenSusPaper> listCenSusPaper(Sqfw_cenSusPaper cenSusPaper);

    List<Sqfw_cenSusPaper> listHouseSurveyCenPeople(SimpleCenSusPaperQueryDTO queryDTO, String userId);
}
